com.willowtreeapps.android.shared
Class FlushedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by com.willowtreeapps.android.shared.FlushedInputStream
All Implemented Interfaces:
Closeable

public class FlushedInputStream
extends BufferedInputStream

Bug fix for Android bug #6066: http://code.google.com/p/android/issues/detail?id=6066

Author:
cceckman

Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
FlushedInputStream(InputStream inputStream)
           
 
Method Summary
 long skip(long n)
           
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlushedInputStream

public FlushedInputStream(InputStream inputStream)
Method Detail

skip

public long skip(long n)
          throws IOException
Overrides:
skip in class BufferedInputStream
Throws:
IOException


Copyright © 2011. All Rights Reserved.